package com.dao;


import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.bean.Openingreport;

@Transactional(propagation=Propagation.REQUIRES_NEW,readOnly=false,isolation=Isolation.DEFAULT)
public interface OpeningreportMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Openingreport record);

    int insertSelective(Openingreport record);

    Openingreport selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Openingreport record);

    int updateByPrimaryKey(Openingreport record);

    public List<Openingreport> select();
    
    public List<Openingreport> selectByState(String state);

	public List<Openingreport> selectBy(Map<String, Object> map);

	Integer selectMax();

}
